package cc.rengu.redp.bizimpl.upmp.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author 刘玉亮.LL
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_B_FEE_INFO")
@ApiModel(value = "FeeInfo对象", description = "")
public class FeeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "多法人总行机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "费率代码")
    @TableField("FEE_CD")
    private String feeCd;

    @ApiModelProperty(value = "费率名称")
    @TableField("FEE_NAME")
    private String feeName;

    @ApiModelProperty(value = "费率描述")
    @TableField("FEE_DESC")
    private String feeDesc;

    @ApiModelProperty(value = "费率模板使用场景")
    @TableField("FEE_SCENE")
    private String feeScene;

    @ApiModelProperty(value = "分段类型")
    @TableField("FEE_INTV_METHOD")
    private String feeIntvMethod = "0";

    @ApiModelProperty(value = "分段序号")
    @TableField("P_SEQ_NO")
    private Integer pSeqNo;

    @ApiModelProperty(value = "分段开始值")
    @TableField("P_START_VALUE")
    private String pStartValue;

    @ApiModelProperty(value = "分段结束值")
    @TableField("P_END_VALUE")
    private String pEndValue;

    @ApiModelProperty(value = "分段计算方式")
    @TableField("P_CAL_TYPE")
    private String pCalType;

    @ApiModelProperty(value = "分段比率")
    @TableField("P_FEE_RATE")
    private String pFeeRate;

    @ApiModelProperty(value = "分段比率封顶值")
    @TableField("P_FEE_RATE_MAX")
    private String pFeeRateMax;

    @ApiModelProperty(value = "分段最小值")
    @TableField("P_FEE_RATE_MIN")
    private String pFeeRateMin;

    @ApiModelProperty(value = "分段固定值")
    @TableField("P_VALUE")
    private String pValue;

    @ApiModelProperty(value = "开始时间")
    @TableField("START_DATE")
    private String startDate;

    @ApiModelProperty(value = "结束时间")
    @TableField("END_DATE")
    private String endDate;

    @ApiModelProperty(value = "状态")
    @TableField("IMP_STATUS")
    private String impStatus;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "创建机构")
    @TableField("CRT_ORG_ID")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "停用原因")
    @TableField("STOP_REASON")
    private String stopReason;

    @ApiModelProperty(value = "停用时间")
    @TableField("STOP_TIME")
    private String stopTime;

    @ApiModelProperty(value = "停用柜员")
    @TableField("STOP_OPR")
    private String stopOpr;

    @ApiModelProperty(value = "注销原因")
    @TableField("CANCEL_REASON")
    private String cancelReason;

    @ApiModelProperty(value = "注销时间")
    @TableField("CANCEL_TIME")
    private String cancelTime;

    @ApiModelProperty(value = "注销柜员")
    @TableField("CANCEL_OPR")
    private String cancelOpr;

    @ApiModelProperty(value = "审批拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;
    //	@MetaData(value = "修改标示")
//	@Column(name = "LOGLE", nullable = true, length = 2)
//	private String logle;
    @TableField(exist = false)
    private String optFlag;

}
